package top.bfylu.facade;/**
 * 包名: top.bfylu.facade
 * 创建时间: 2023/2/22
 *
 * @author bfy
 * @version 1.0.0
 * <p>
 * 描述:
 * Email: bfyjian@gmail.com
 **/public class Projector {

     String description;
     DvdPlayer dvdPlayer;

     public Projector(String description, DvdPlayer dvdPlayer) {
         this.description = description;
         this.dvdPlayer = dvdPlayer;
     }

     public void on() {
         System.out.println(description + " on");
     }

     public void off() {
         System.out.println(description + " off");
     }

     public void wideScreenMode() {
         System.out.println(description + " in widescreen mode (16x9 aspect ratio)");
     }

     public void tvMode() {
         System.out.println(description + " in tv mode (4x3 aspect ration)");
     }

     public String toString() {
         return description;
     }
}
